/*
*
* Lemonade v1.1
* Copyright 2013, Joe Richardson
* lemonade.im
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*
*/

.acc *,
.acc *:after,
.acc *:before {
  padding:0 !important;
  margin:0 !important;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box
}

/* Set the width of the grid */
.acc .frame {
  margin: 0 auto
}

/* Attribute selector */
.acc [class*='bit-'] {
  float: left;
  padding: 0;
}

/* Floats last ".bit-" to the right */
.acc [class*='bit-']:last-of-type {
  float: right;
}

.acc .frame input {
  margin: 0 auto;
  width: 100%;
}

/* Clearfix */
.acc .frame:after {
  content: "";
  display: table;
  clear: both
}

/* Main Widths */
.bit-1  { width: 100% }
.bit-2  { width: 50% }
.bit-3  { width: 33.33% }
.bit-4  { width: 25% }
.bit-5  { width: 20% }
.bit-6  { width: 16.6666666667% }
.bit-7  { width: 14.2857142857% }
.bit-8  { width: 12.5% }
.bit-9  { width: 11.1111111111% }
.bit-10 { width: 10% }
.bit-11 { width: 9.09090909091% }
.bit-12 { width: 8.33% }

.bit-25p  { width: 25% }
.bit-75p  { width: 75% }

.bit-640-32  { width: 5%; min-width:32px; }
.bit-640-72  { width: 11.25%; min-width:72px; }
.bit-640-100  { width: 15.625%; min-width:100px; }
.bit-640-104  { width: 16.25%; min-width:104px; }
.bit-640-232 { width: 36.25%; min-width:232px; }

/* Landscape mobile & down */
@media (max-width: 30em) {
  .bit-1,
  .bit-2,
  .bit-3,
  .bit-4,
  .bit-5,
  .bit-6,
  .bit-7,
  .bit-8,
  .bit-9,
  .bit-10,
  .bit-11,
  .bit-12 {
    width: 100%;
  }
}

/* Portrait tablet to landscape */
@media (min-width: 30em) and (max-width: 50em) {
  .bit-4,
  .bit-6,
  .bit-8,
  .bit-10,
  .bit-12 {
    width: 50%
  }

  .bit-1,
  .bit-2,
  .bit-3,
  .bit-5,
  .bit-7,
  .bit-9,
  .bit-11 {
    width: 100%
  }
}

/* Landscape to small desktop */
@media (min-width: 50em) and (max-width: 68.750em) {
  .bit-2,
  .bit-7 {
    width: 100%
  }

  .bit-4,
  .bit-8,
  .bit-10,
  .bit-12 {
    width: 50%
  }
}


